import request from '@/utils/request'

// 查询上牌点列表
export function listapplyInfo(query) {
  return request({
    url: '/enterprise/applyInfo/list',
    method: 'get',
    params: query
  })
}

// 查询上牌点详细
export function getapplyInfo(id) {
  return request({
    url: '/enterprise/applyInfo/' + id,
    method: 'get'
  })
}

// 新增上牌点
export function addapplyInfo(data) {
  return request({
    url: '/enterprise/applyInfo',
    method: 'post',
    data: data
  })
}

// 修改上牌点
export function updateapplyInfo(data) {
  return request({
    url: '/enterprise/applyInfo',
    method: 'put',
    data: data
  })
}

// 删除上牌点
export function delapplyInfo(id) {
  return request({
    url: '/enterprise/applyInfo/' + id,
    method: 'delete'
  })
}

// 导出上牌点
export function exportapplyInfo(query) {
  return request({
    url: '/enterprise/applyInfo/export',
    method: 'get',
    params: query
  })
}

